//
//  VisitorViewController.swift
//  myWeibo
//
//  Created by 章发晨 on 2017/3/8.
//  Copyright © 2017年 章发晨. All rights reserved.
//

import UIKit

class VisitorViewController: UITableViewController {

    //判断是否登录
    var userLogon:Bool = false
    override func loadView() {
        if userLogon {
            super.loadView()
        }else{
            view = myView
        }
        
    }
    
    

    override func viewDidLoad() {
        super.viewDidLoad()
    }
    
    
    
    // MARK: - 懒加载view
    private lazy var myView:VisitorView = {
        let view = VisitorView()
        return view
        
    }()

    
}
